/*
 * AtomTaskTest.fx
 *
 * Created on Apr 2, 2010, 3:19:02 PM
 */

package fxgreader.test;
import javafx.data.feed.atom.AtomTask;

/**
 * @author perkintang
 */

var atomTask = AtomTask {

    location: "https://www.google.com/reader/atom/user/04723210793444637524/label/Apple?n=1"
    interval: 300s

    onException: function(e) {
        e.printStackTrace();
    }

    onFeed: function(feed) {
        println("{feed.title}");
    }

    onEntry: function(entry) {
        println("{entry.title}");
    }
}
atomTask.start();
